package User;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Duser {
    @Id
    private String id;
    private String name;
    private String email;
    private String passwd;
    private String img;

    public Duser() {}
    public Duser(String id,String name, String email, String passwd, String img)
    {
        this.email = email;
        this.id = id;
        this.img = img;
        this.name = name;
        this.passwd = passwd;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public String getPasswd() {
        return passwd;
    }

    public String getName() {
        return name;
    }

    public String getEmail() {
        return email;
    }

    public String getId() {
        return id;
    }
}
